package com.dispatcher.bean;

import java.io.Serializable;

public class Order implements Serializable {
	private String goodid;
	private String lon;
	private String lat;
	private String building;
	private String goodtype;
	private String other;
	private String needpay;
	private String giftname;
	private String giftid;
	private String region;
	private String count;
	private String address;
	private String orderaddress;
	private String name;
	private String orderid;
	private String phone;
	private String createtime;
	private String sendername;
	private String sendno;
	private boolean isGiftSelected;
	
	
	public String getSendno() {
		return sendno;
	}
	public void setSendno(String sendno) {
		this.sendno = sendno;
	}
	public String getOrderaddress() {
		return orderaddress;
	}
	public void setOrderaddress(String orderaddress) {
		this.orderaddress = orderaddress;
	}
	public String getSendername() {
		return sendername;
	}
	public void setSendername(String sendername) {
		this.sendername = sendername;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getGoodid() {
		return goodid;
	}
	public void setGoodid(String goodid) {
		this.goodid = goodid;
	}
	public String getLon() {
		return lon;
	}
	public void setLon(String lon) {
		this.lon = lon;
	}
	public String getLat() {
		return lat;
	}
	public void setLat(String lat) {
		this.lat = lat;
	}
	public String getBuilding() {
		return building;
	}
	public void setBuilding(String building) {
		this.building = building;
	}
	public String getGoodtype() {
		return goodtype;
	}
	public void setGoodtype(String goodtype) {
		this.goodtype = goodtype;
	}
	public String getOther() {
		return other;
	}
	public void setOther(String other) {
		this.other = other;
	}
	public String getNeedpay() {
		return needpay;
	}
	public void setNeedpay(String needpay) {
		this.needpay = needpay;
	}
	public String getGiftname() {
		return giftname;
	}
	public void setGiftname(String giftname) {
		this.giftname = giftname;
	}
	public String getGiftid() {
		return giftid;
	}
	public void setGiftid(String giftid) {
		this.giftid = giftid;
	}
	public String getRegion() {
		return region;
	}
	public void setRegion(String region) {
		this.region = region;
	}
	public String getCount() {
		return count;
	}
	public void setCount(String count) {
		this.count = count;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getOrderid() {
		return orderid;
	}
	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public boolean isGiftSelected() {
		boolean b=false;
		if(giftid==null){
			
		}else if(giftid.length()==0){
			
		}else if(giftid.equals("null")||giftid.equals("0")){
			
		}else{
			b=true;
		}
		return b;
	}
//	public void setGiftSelected(boolean isGiftSelected) {
//		this.isGiftSelected = isGiftSelected;
//	}
	
	
}
